Regression Testing
定义 Definition
回归测试:在修改代码、修复缺陷或新增功能之后,再次运行既有测试(或重新设计的测试),以确认原本正常的功能没有被“改坏”,并尽早发现新改动引入的副作用。常见于自动化测试与持续集成流程中。
发音 Pronunciation (IPA)
/rɪˈɡrɛʃən ˈtɛstɪŋ/
例句 Examples
We ran regression testing after the bug fix.
修复漏洞后,我们进行了回归测试。
After refactoring the payment module, the team automated regression testing to ensure older checkout flows still worked across browsers.
在重构支付模块后,团队将回归测试自动化,以确保旧的结账流程在不同浏览器中仍然可用。
词源 Etymology
regression 源自拉丁语 regressio(“回到、后退”),在这里引申为“功能表现退回到更差状态(被改坏)”;testing 来自 test(检验、试验)。合起来指“检查是否出现功能倒退”的测试实践。
相关词 Related Words
文学与著作中的用例 Literary & Notable Works
- Agile Testing: A Practical Guide for Testers and Agile Teams(Lisa Crispin, Janet Gregory)
- Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation(Jez Humble, David Farley)
- Software Testing(Glenford J. Myers, Corey Sandler, Tom Badgett)
- Code Complete(Steve McConnell)
- The Pragmatic Programmer(Andrew Hunt, David Thomas)